/*
 * Room.h
 *
 *  Created on: 01/07/2011
 *      Author: pablo
 */


#ifndef ROOM_H_
#define ROOM_H_

#include <list>
#include "Client.h"

namespace common{
	class Room {
	public:
		Room(string name, int id);
		virtual ~Room();
		list<Client*> getClients();
		string getName();
		int getId();
		void addClient(Client* client);
		void removeClient(int pid);

	private:
		string name;
		int id;
		list<Client*> clients;
		void setName(string name);
		void setId(int id);
	};
}


#endif /* ROOM_H_ */
